package com.seed.core.enumeration;

import com.mybatisflex.annotation.EnumValue;

public enum YesNo {
    yes("yes", "是"),
    no("no", "否");

    private final String value;
    private final String label;

    YesNo(String value, String label) {
        this.value = value;
        this.label = label;
    }

    @EnumValue
    public String getValue() { return value; }

    public String getLabel() {
        return label;
    }
}
